package com.bdqn.common.task;

import com.bdqn.sys.controller.utils.FileUploadUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class FileTask {

    @Scheduled(cron = "30 59 23 * * ?")
    public  void  deleteFile(){
        //定时删除图片
        FileUploadUtils.deleteFiles();
    }

}
